home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="utf-8"?> <html><head><title>DefBool Statement [Runtime]</title><meta name="filename" content="text/sbasic/common/03101100"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css"> p.P1{ } p.P2{ } span.T1{ font-weight:bold;} </style></head><body> <help:to-be-embedded Eid="defbool" xmlns:help="http://openoffice.org/2000/help"> <p class="Head1"><help:link Id="66616">DefBool Statement [Runtime]</help:link></p> <p class="Paragraph">Sets the default data type for variables, according to a letter range, if no type-declaration character or keyword was specified.</p> </help:to-be-embedded> <p class="Paragraph"><span class="T1">Syntax</span>:</p> <p class="Paragraph">Defxxx Characterrange1[, Characterrange2[,...]] <help:key-word value="DefBool" tag="kw66616_1" xmlns:help="http://openoffice.org/2000/help"/></p> <p class="Paragraph"><span class="T1">Parameter</span>:</p> <p class="Paragraph">Characterrange: Letters specifying the range of variables for which to set a default data type.</p> <p class="Paragraph">xxx: Keyword defining the default variable type:</p> <p class="P2">Keyword : Default variable type</p> <p class="Paragraph">DefBool : Boolean</p> <p class="P2">Example:</p> <p class="PropText"/> <p class="PropText">REM Prefix definition for variable types:</p> <p class="PropText">DefBool b</p> <p class="PropText">DefDate t</p> <p class="PropText">DefDbL d</p> <p class="PropText">DefInt i</p> <p class="PropText">DefLng l</p> <p class="PropText">DefObj o</p> <p class="PropText">DefVar v</p> <p class="PropText"/> <p class="PropText">Sub ExampleDefBool</p> <p class="PropText">bOK=TRUE <text:s text:c="" xmlns:text="http://openoffice.org/2000/text"/>REM bOK is an implicit Boolean variable</p> <p class="PropText">end sub</p> </body></html>